package com.hk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hk.model.pojo.Activity;
import com.hk.model.pojo.Employee;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {

    @ApiOperation(value = "获取活动列表")
    List<Activity> getActivityList(Integer code, Data beginCreateTime, Data endCreateTime, Data beginTime, Data endTime);

    @ApiOperation(value = "修改活动信息")
    void updateActivity(Activity activity);
@ApiOperation(value = "获取活动id")
    Activity getId(Integer id);
}
